package com.oron3.bouncer.interaction;



public class InteractiveEvent {
	private final InteractionInterpreter interpreter;
	public float x,y,z;
	public InteractiveEvent(final InteractionInterpreter interpreter) {
		this.interpreter=interpreter;
	}
	public InteractiveEvent(final InteractionInterpreter interpreter,final int x, final int y) {
		this.interpreter=interpreter;
		this.x = x;
		this.y = y;
	}

	public void runIfNotConsumed(final InteractiveTask what) {
		interpreter.runIfNotConsumed(this,what);
	}

}
